package aos.client;

import javax.swing.JFrame;

import org.apache.log4j.Logger;

import thinlet.RootPane;
import aos.client.gui.ControlPane;
import aos.client.robot.RemoteRobotControllerProxy;


/**
 * This class is the main class to run the client.
 * 
 * @author Yannic
 *
 */
public class Client {

	static Logger logger = Logger.getLogger(Client.class);
	
	public Client() {
		RemoteRobotControllerProxy remoteRobotControllerProxy = new RemoteRobotControllerProxy();
		JFrame frame = new RootPane(new ControlPane(remoteRobotControllerProxy)).showFrame(263, 155);
		frame.setTitle("AoS - Arduino over Skype");
		logger.info("Client initialized.");
	}
	

	public static void main(String[] args) {
		Client client = new Client();
	}
}
